﻿<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>@ViewBag.Title</title>
    @*如果开发环境是Development,将被执行*@
    <enviroment include="Development">
        <link asp-href-include="https://cdn.bootcss.com/twitter-bootstrap/4.4.1/css/bootstrap.css" rel="stylesheet">
    </enviroment>
    @*除了Development环境以外的任何环境,就是不包括Development的环境*@
    <enviroment exclude="Development">
        <link asp-href-include="https://cdn.bootcss.com/twitter-bootstrap/4.4.1/css/bootstrap.min.css" rel="stylesheet">
    </enviroment>
</head>
<body>
    <div class="container">
        <div class="row">
            <div class="col-md-2">
                @*Tag Helper:asp-append-version="true":作用于图片,防止被缓存*@
                <img asp-append-version="true" alt="Logo" src="~/images/logo.png" style="height:60px" />
            </div>
            <div class="col-md-10">
                <span class="h2">@ViewBag.Title</span>
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-md-12">
            @RenderBody()
        </div>
    </div>
</body>
</html>


